/* reset css */

html,
body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    -webkit-tap-highlight-color: transparent;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--q-text-color-primary);
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    padding: 0;
    margin: 0;
    font: inherit;
    font-size: 100%;
    vertical-align: baseline;
    border: 0;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote::before,
blockquote::after,
q::before,
q::after {
    content: '';
    content: none;
}

table {
    border-spacing: 0;
    border-collapse: collapse;
}

/* 去除input标签的默认样式 */
button,
input,
textarea {
    padding: 0;
    margin: 0;
    font-family: var(--el-font-family);
    font-size: 1em;
    line-height: 1em;
    appearance: none;
    background-color: transparent;
    border: 0;
    outline: none;
}

/* 去掉按下的阴影盒子 */
input,
textarea,
a {
    -webkit-tap-highlight-color: transparent;

    @include scrollbar_y;
    @include scrollbar_x;
    @include scrollbar_hover;
}

/*  清除a标签下划线 */
a,
a:visited {
    text-decoration: none;
}

a:focus,
a:active,
a:hover {
    outline: none;
}

/*  清除列表前面的点 */
ol,
li,
ul {
    list-style: none;
}

/*  清除IE下图片的边框 */
img {
    font-size: 0;
    border-style: none;
}

/* 去除 input 默认填充背景 */
input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
    background-color: transparent;
    background-image: none;
    box-shadow: 0 0 0 1000px #f2f4f9 inset;
    box-shadow: 0 0 0 1000px transparent inset !important;
    transition: background-color 50000s ease-in-out 0s;
}

input {
    background-color: transparent;
}

:focus {
    outline: none;
}
